package a.f;

import a.c.*;
import a.c.r;

import java.util.HashMap;
import java.util.Map;

public class sc
  implements x.a_
{
  private static final x.a_ a = new r();
  public static int b;
  
  public e a(a.c.q paramq, e parame)
  {
    a.c.q localq = parame.g();
    if ((o.eg) || ((localq instanceof o)))
    {
      o localo1 = (o)localq;
      zc localzc1 = localo1.k(parame);
      e locale = paramq.i();
      o localo2 = (o)paramq;
      zc localzc2 = localo2.k(locale);
      localzc2.b(localzc1.c(), localzc1.d());
      localzc2.a(localzc1.a(), localzc1.b());
      a(localo1, parame, localo2, locale);
      return locale;
    }
    return a.a(paramq, parame);
  }
  
  protected void a(o paramo1, e parame1, o paramo2, e parame2)
  {
    boolean bool = o.eg;
    int j = o.dg;
    if ((bool) || ((paramo2 instanceof q)))
    {
      xc[] arrayOfxc1 = paramo1.l(parame1);
      q localq = (q)paramo2;
      xc[] arrayOfxc2 = new xc[arrayOfxc1.length];
      int i = 0;
      do
      {
        if (i >= arrayOfxc1.length) {
          break;
        }
        xc localxc = arrayOfxc1[i];
        arrayOfxc2[i] = a(localxc);
        i++;
        if ((!bool) && (j != 0)) {
          return;
        }
      } while (j == 0);
      if (!bool) {
        localq.a(parame2, arrayOfxc2);
      }
    }
  }
  
  protected xc a(xc paramxc)
  {
    nc localnc = new nc();
    localnc.a(paramxc.a());
    localnc.a(paramxc.e());
    localnc.a(paramxc.d());
    return localnc;
  }
  
  public d a(a.c.q paramq, e parame1, e parame2, d paramd)
  {
    boolean bool = o.eg;
    int j = o.dg;
    a.c.q localq = paramd.c();
    if ((bool) || ((localq instanceof o)))
    {
      o localo1 = (o)paramq;
      d locald = localo1.a(parame1, parame2);
      zb localzb1 = localo1.b(locald);
      o localo2 = (o)localq;
      zb localzb2 = localo2.b(paramd);
      localzb1.a(localzb2.c());
      localzb1.b(localzb2.d());
      int i = 0;
      do
      {
        if (i >= localzb2.a()) {
          break;
        }
        a.d.w localw = localzb2.a(i);
        localzb1.a(localw.a(), localw.b());
        i++;
        if ((!bool) && (j != 0)) {
          break label176;
        }
      } while (j == 0);
      if (!bool) {
        a(localo2, paramd, localo1, locald);
      }
      label176:
      return locald;
    }
    return a.a(paramq, parame1, parame2, paramd);
  }
  
  public a.c.q a()
  {
    return new q();
  }
  
  protected void a(o paramo1, d paramd1, o paramo2, d paramd2)
  {
    boolean bool = o.eg;
    int j = o.dg;
    if ((bool) || ((paramo2 instanceof q)))
    {
      wb[] arrayOfwb1 = paramo1.k(paramd1);
      q localq = (q)paramo2;
      wb[] arrayOfwb2 = new wb[arrayOfwb1.length];
      int i = 0;
      do
      {
        if (i >= arrayOfwb1.length) {
          break;
        }
        wb localwb = arrayOfwb1[i];
        arrayOfwb2[i] = a(localwb);
        i++;
        if ((!bool) && (j != 0)) {
          return;
        }
      } while (j == 0);
      if (!bool) {
        localq.a(paramd2, arrayOfwb2);
      }
    }
  }
  
  protected wb a(wb paramwb)
  {
    mc localmc = new mc();
    localmc.a(paramwb.a());
    localmc.a(paramwb.e());
    localmc.a(paramwb.b());
    localmc.a(paramwb.d());
    return localmc;
  }
  
  public void a(a.c.q paramq1, a.c.q paramq2) {}
  
  public void a(a.c.q paramq1, a.c.q paramq2, Map paramMap1, Map paramMap2) {}
  
  public static class a_
    extends x.b_
  {
    private k c;
    private k d;
    private k e;
    private j f;
    private j g;
    private j i;
    public static int j;
    
    public a_()
    {
      this(new sc());
    }
    
    public a_(x.a_ parama_)
    {
      super();
    }
    
    protected void b(a.c.q paramq1, a.c.q paramq2)
    {
      boolean bool = o.eg;
      super.b(paramq1, paramq2);
      this.c = paramq1.c(i.c);
      this.d = paramq1.c(i.a);
      this.e = paramq1.c(i.b);
      if ((bool) || (this.c != null))
      {
        if (!bool)
        {
          if (this.d == null) {
            return;
          }
          if (bool) {}
        }
        else
        {
          if (this.e == null) {
            return;
          }
          this.f = ((j)paramq2.c(i.c));
          this.g = ((j)paramq2.c(i.a));
          this.i = ((j)paramq2.c(i.b));
        }
        if (!bool) {
          if (this.f == null) {
            paramq2.a(i.c, this.f = paramq2.B());
          }
        }
        if (!bool) {
          if (this.g == null) {
            paramq2.a(i.a, this.g = paramq2.B());
          }
        }
        if (this.i == null) {
          paramq2.a(i.b, this.i = paramq2.B());
        }
      }
    }
    
    protected void b(a.c.q paramq1, a.c.q paramq2, Map paramMap1, Map paramMap2)
    {
      boolean bool = o.eg;
      int k = o.dg;
      super.b(paramq1, paramq2, paramMap1, paramMap2);
      if (!bool)
      {
        if (this.g != null)
        {
          HashMap localHashMap = new HashMap();
          a.c.w localw = paramq1.v();
          e locale1;
          do
          {
            do
            {
              if (!localw.e()) {
                break;
              }
              locale1 = localw.d();
              localHashMap.put(this.d.get(locale1), locale1);
              localw.f();
              if (bool) {
                break label124;
              }
              if (k != 0) {
                break label117;
              }
            } while (k == 0);
          } while (bool);
          localw = paramq1.v();
          label117:
          label124:
          do
          {
            if (!localw.e()) {
              break;
            }
            locale1 = localw.d();
            e locale2 = (e)paramMap1.get(locale1);
            e locale3 = (e)localHashMap.get(this.e.get(locale1));
            e locale4 = (e)paramMap1.get(locale3);
            if (k != 0) {
              return;
            }
            if ((bool) || ((locale2 != null) && (locale4 != null))) {
              this.i.a(locale2, this.g.get(locale4));
            }
            localw.f();
          } while (k == 0);
        }
        this.f = (this.g = this.i = null);
        if (bool) {}
      }
      else
      {
        this.c = (this.d = this.e = null);
      }
    }
    
    protected void a(e parame1, e parame2)
    {
      boolean bool = o.eg;
      super.a(parame1, parame2);
      if (((bool) || (this.d != null)) && ((bool) || (this.g != null)))
      {
        Object localObject = this.d.get(parame1);
        this.g.a(parame2, a(localObject, parame2));
        this.f.a(parame2, this.c.getBool(parame1));
      }
    }
    
    protected Object a(Object paramObject, e parame)
    {
      return parame;
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.sc

 * JD-Core Version:    0.7.0.1

 */